package pile.customer.service;

import pile.customer.entity.FrequentlyAskedQuestions;
import com.baomidou.mybatisplus.extension.service.IService;
import pile.customer.entity.ResponseResult;
import pile.customer.params.frequentlyAskedQuestions.DeleDTO;
import pile.customer.params.frequentlyAskedQuestions.ListDTO;
/**
 * <p>
 * 常见问题 服务类
 * </p>
 *
 * @author 郭天义
 * @since 2024-06-05
 */
public interface IFrequentlyAskedQuestionsService extends IService<FrequentlyAskedQuestions> {

  ResponseResult listPage(ListDTO listDTO);

  ResponseResult dele(DeleDTO deleDTO);

  ResponseResult add(FrequentlyAskedQuestions frequentlyAskedQuestions);

  ResponseResult info(Integer frequentlyAskedQuestionsId);

  ResponseResult edit(FrequentlyAskedQuestions frequentlyAskedQuestions);

  /**
   *
   * @param listDTO
   * @return
   */
  ResponseResult clickForHelp(ListDTO listDTO);

  /**
   * 常见问题 用户端调用 需要放行 没token 列表
   * @param listDTO
   * @return
   */
    ResponseResult userList(ListDTO listDTO);
}
